import {createRouter, createWebHashHistory} from "vue-router"

const routes = [
    {
        path: '/',
        name: "monitor",
        component: ()=> import("../components/monitor.vue")
    },
    {
        path: '/electricCar',
        name: "electricCar",
        component: ()=> import("../components/electricCar.vue")
    }
];

export default createRouter({
    history: createWebHashHistory(),
    routes
})